package com.watch.system.model.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 广告导出视图对象
 *
 * @author haoxr
 * @since 2024/2/7 8:46
 */

@Data
public class CarAdImportVO {

    @ExcelProperty(value = "广告ID")
    private Integer adId;

    @ExcelProperty(value = "用户ID")
    private Integer userId;

    @ExcelProperty(value = "用户ID")
    private Date createDate;

    @ExcelProperty(value = "用户ID")
    private String status;

    @ExcelProperty(value = "用户ID")
    private String adContent;

    @Schema(description="经度")
    @ExcelProperty(value = "用户ID")
    private String longitude;

    @Schema(description="纬度")
    @ExcelProperty(value = "用户ID")
    private String latitude;

    @ExcelProperty(value = "用户ID")
    private String adImg;

    @ExcelProperty(value = "投放方式：0 按区域 1：附近")
    private String type;

    @ExcelProperty(value = "省")
    private String province;

    @ExcelProperty(value = "市")
    private String city;

    @ExcelProperty(value = "区")
    private String area;


    @ExcelProperty(value = "投放范围")
    private String ranges;

    @ExcelProperty(value = "投放结束开始时间")
    private String adStartDate;

    @Schema(description="投放结束时间")
    @ExcelProperty(value = "投放结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String adEndDate;


    @ExcelProperty(value = "联系方式")
    private String telephone;

    @ExcelProperty(value = "微信号")
    private String weChat;

    @ExcelProperty(value = "备注")
    private String remark;

}
